package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 签到对象 sign
 * 
 * @author ruoyi
 * @date 2024-06-21
 */
public class Sign extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 用户手机号 */
    @Excel(name = "用户手机号")
    private String mobile;

    /** 用户姓名 */
    @Excel(name = "用户姓名")
    private String name;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 到点时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "到点时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reachTime;

    /** 到访门店 */
    @Excel(name = "到访门店")
    private String shop;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setReachTime(Date reachTime) 
    {
        this.reachTime = reachTime;
    }

    public Date getReachTime() 
    {
        return reachTime;
    }
    public void setShop(String shop) 
    {
        this.shop = shop;
    }

    public String getShop() 
    {
        return shop;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("mobile", getMobile())
            .append("name", getName())
            .append("type", getType())
            .append("reachTime", getReachTime())
            .append("shop", getShop())
            .append("remark", getRemark())
            .toString();
    }
}
